#ifndef _heartbeat_H_
#define _heartbeat_H_
#include "stdbool.h"
#include "stdint.h"
typedef struct
{
	bool recive;
	bool status;
	uint8_t  loop_time;
	uint16_t time;
	uint16_t timeout;
	uint16_t time_wait;
}Heartbeat_TCB_t;
void Heardbeat_Init(void);
void Heartbeat_Loop(uint8_t ms);     //心跳运行
void Heartbeat_Receive(void);        //心跳接收
void Updata_Heartbeat_Status(void);  //心跳状态
#endif